package com.xh.bussiness.permission.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xh.bussiness.permission.model.School;
import com.xh.bussiness.permission.model.UserSchool;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *
 * </p>
 *
 * @author Pitt zhang
 * @since 2019/10/16
 */
public interface UserSchoolMapper extends BaseMapper<UserSchool> {

    void updateUserSchoolDefaultByUserId(@Param("userId") String userId);

    boolean deleteByUserId(@Param("userId") String userId);

    List<School> selectSchoolByUserId(@Param("schoolId") String schoolId);

}
